import React from 'react'
import './index.scss'

const AlertTip = (props) => {
    const { alertText, onClose = () => { } } = props
    return <div className="alert_container">
        <section className="tip_text_container">
            <div className="tip_icon">
                <span></span>
                <span></span>
            </div>
            <p className="tip_text">{alertText}</p>
            <div className="confrim" onClick={onClose}>确认</div>
        </section>
    </div>
}

export default AlertTip
